﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AAA.TradeLanguage.Data;

namespace AAA.TradeLanguage
{
    public interface ITradingRule
    {
        void AddSignalSymbolMapping(string strSignalName, TradeSymbol tradeSymbol);
        void SetSignalMultiple(string strSignalName, int iMultiple);
        void AddContractInfo(string strParamName, ContractInfo contractInfo);
        List<TradeSymbol> GetTradeSymbol(string strSignalName);
        TradeInfo[] CreateOrder(string strSignalName);
        void CreateBasicContractInfo(DateTime dtNow, float fCurrentPrice);
        ContractInfo GetContractInfo(string strContractName);
    }
}
